<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Расчет стоимости  и заказ услуг</title>

<style type="text/css">
<!--
.style1 {
	color: #333333;
	font-size: 14px;
	font-weight:bold;
}
body {
font-family:Arial, Helvetica, sans-serif;
font-size:11px;
}
div {
color:#CCCCCC;
font-size:11px;
font-family:Georgia, "Times New Roman", Times, serif;
}
a:hover, a{
color:#CCCCCC;
text-decoration: none;
}
-->
</style>
<SCRIPT LANGUAGE="JavaScript">
function price(form) {
if (form.iadro.checked){
var iadro=parseFloat(form.iadro.value);
}
else iadro=0;
if (form.dizain.checked){
var dizain=parseFloat(form.dizain.value);
}
else dizain=0;
if (form.nachalo.checked){
var nachalo=parseFloat(form.nachalo.value);
}
else nachalo=0;
if (form.korp.checked){
var korp=parseFloat(form.korp.value);
}
else korp=0;
if (form.korp.checked){
var korp=parseFloat(form.korp.value);
}
else korp=0;
if (form.imidg.checked){
var imidg=parseFloat(form.imidg.value);
}
else imidg=0;
if (form.golos.checked){
var golos=parseFloat(form.golos.value);
}
else golos=0;
if (form.poisk.checked){
var poisk=parseFloat(form.poisk.value);
}
else poisk=0;
if (form.stat.checked){
var stat=parseFloat(form.stat.value);
}
else stat=0;
if (form.forum.checked){
var forum=parseFloat(form.forum.value);
}
else forum=0;
if (form.podpiska.checked){
var podpiska=parseFloat(form.podpiska.value);
}
else podpiska=0;
if (form.interf.checked){
var interf=parseFloat(form.interf.value);
}
else interf=0;
if (form.reklama.checked){
var reklama=parseFloat(form.reklama.value);
}
else reklama=0;
if (form.ssilki.checked){
var ssilki=parseFloat(form.ssilki.value);
}
else ssilki=0;
if (form.shop.checked){
var shop=parseFloat(form.shop.value);
}
else shop=0;
if (form.zonaru.checked){
var zonaru=parseFloat(form.zonaru.value);
}
else zonaru=0;
if (form.zonasu.checked){
var zonasu=parseFloat(form.zonasu.value);
}
else zonasu=0;
if (form.nach.checked){
var nach=parseFloat(form.nach.value);
}
else nach=0;
if (form.dinam.checked){
var dinam=parseFloat(form.dinam.value);
}
else dinam=0;
if (form.optim.checked){
var optim=parseFloat(form.optim.value);
}
else optim=0;
if (form.maxsima.checked){
var maxsima=parseFloat(form.maxsima.value);
}
else maxsima=0;
if (form.inetshop.checked){
var inetshop=parseFloat(form.inetshop.value);
}
else inetshop=0;
if (form.moduli.checked){
var moduli=parseFloat(form.moduli.value);
}
else moduli=0;

var total=iadro+dizain+nachalo+korp+imidg+golos+poisk+stat+forum+podpiska+interf+reklama+ssilki+shop+zonaru+zonasu+nach+dinam+optim+maxsima+inetshop+moduli;
document.getElementById("total_price").innerHTML=total;
}
</SCRIPT>
</head>

<body>
<center>
<div class="style1">Расчет стоимости радио хостинга в месяц</div><br />
<form name="form"  onclick="price(this)">
<table width="350" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" align="left"><input type="checkbox" value="0" name="iadro" checked="checked" /> &nbsp;<b>Договор</b></td>
    <td>- 0</td>
  </tr>
  <tr>
    <td colspan="3" align="center"><b>Сервер Icecast </b></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="250" name="nachalo" />Icecast pro+</td>
    <td>- 250</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="150" name="korp" />Icecast ретранслятор</td>
    <td>- 150</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="100" name="imidg" />Icecast Модифицированный</td>
    <td>- 100</td>
  </tr>
  <tr>
    <td colspan="3" align="center"><b>Слоты (Слушатели до)</b></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="25" name="golos" />50 </td>
    <td>- 25</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="50" name="poisk" />100</td>
    <td>- 50</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="75" name="stat" />150</td>
    <td>- 75</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="100" name="forum" />200</td>
    <td>- 100</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="125" name="podpiska" />250</td>
    <td>- 125</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="150" name="interf" />300</td>
    <td>- 150</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="175" name="reklama" />350</td>
    <td>- 175</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="200" name="ssilki" />400</td>
    <td>- 200</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="250" name="shop" />500</td>
    <td>- 250</td>
  </tr>
  <tr>
    <td colspan="3" align="center"><b>Авто-DJ</b></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="250" name="zonaru" />Инсталяция RadioCMS</td>
    <td>- 250</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="0" name="zonasu" /> Инсталяция Ices (автоматическая ротация)</td>
    <td>- 0</td>
  </tr>
  <tr>
    <td colspan="3" align="center"><b>Место на сервере</b></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="30" name="nach" />512mb</td>
    <td>- 30</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="50" name="dinam" />1gb</td>
    <td>- 50</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="75" name="optim" />2gb</td>
    <td>- 75</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="100" name="maxsima" />3gb</td>
    <td>- 100</td>
  </tr>
  <tr>
    <td colspan="3" align="center"><b>Готовые тарифы</b></td>
    </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="100" name="dizain" checked="checked" />«Начальный» (1GB на диске, Слушатели: до 100)</td>
    <td>- 100</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="200" name="inetshop" />«Экспресс» (2GB на диске, Слушатели: до 200)</td>
    <td>- 200</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left"><input type="checkbox" value="300" name="moduli" />«Расширенный» (3GB на диске, Слушатели: до 300)</td>
    <td>- 300</td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td align="center"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Итого:</b></td>
    <td align="center" id="total_price" style="color: #993300;font-weight:bold; font-size:14px">0 </td>
  </tr>
</table>
</form>
<form action="sendmail.php" method="post">
<table width="350" border="0" cellspacing="0" cellpadding="0" style="display:none" id="tf1">


</table>
</form>
<p>&nbsp;</p>

</center>

</body>
</html>
